package com.wolfman.socket.server.mapper;

import com.wolfman.socket.server.pojo.Person;

/**
 * @Title
 * @Description
 * @Author WolfMan
 * @Date 2022/11/26 16:07
 * @Email 2370032534@qq.com
 */
public interface PersonMapper {

    /**
     * 保存用户
     *
     * @param person
     * @return
     */
    Object saverPerson(Person person) throws Exception;

    /**
     * 根据id查询用户
     *
     * @param id
     * @return
     */
    Object selectPersonById(Integer id);

}
